package com.yuandian.api.management.feign;


import com.yuandian.api.customer_perception.po.WeekdayParams;
import com.yuandian.api.customer_perception.vo.Weekday;
import com.yuandian.bpm.common.core.util.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 说明：远程调用选项接口服务
 * @Author maxinmo
 * @Date 2023/8/1 14:06
 */
@FeignClient(contextId = "remoteWeekDaysService", value = "bpm-management")
public interface RemoteWeekDaysService {


    /**
     * 工作日和节假日配置表不分页查询
     * @param params 请求参数
     * @return
     */
    @PostMapping("/weekdays/queryNoPageWeekday")
    R<List<Weekday>> queryNoPageWeekday(@RequestBody WeekdayParams params);

}
